package com.kqb.mapper;

import com.kqb.pojo.CustomerInquiryDetail;
import com.kqb.pojo.vo.CustomerInquiryDetailVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

@Mapper
public interface CustomerInquiryDetailMapper {
    int saveAll(@Param("inquiryId") int inquiryId, @Param("customerInquiryDetails") ArrayList<CustomerInquiryDetail> customerInquiryDetails);

    CustomerInquiryDetailVo selectByInquiryId(int id);
}